﻿using System;
using System.Threading;

namespace IceDog.SmallProject.Task
{
    class Program
    {
        static void Main(string[] args)
        {
            var publisher = new NewsPublisher();
            //publisher.StartServiceAsync();
            //publisher.StartService();
            while (true)
            {
                Thread.Sleep(1000);
                Console.WriteLine("main thread .......");
            }
        }
    }
}
